home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / c / wgt35.zip / TROUBLE.DOC < prev    next >
Text File  |  1993-01-28  |  3KB  |  87 lines

  1. Troubleshooting:
  2. ----------------
  3.  
  4. Most of the problems from experience, are tring to load files from
  5. the wrong directory. This can cause a lot of mess on the screen and
  6. perhaps a few lock ups. Look for this problem right away.
  7. If everything seems to be alright, read on...
  8.  
  9.  
  10. Problem:  When I set the palette with wsetpalette, all the colours remain
  11.       black...
  12. Solution: You should have set the palette beforehand, with wsetrgb,
  13.       wloadpalette, or wloadsprites. If you have set the palette,
  14.       make sure the palette file was found if you are loading it in.
  15.  
  16.  
  17.  
  18. Problem:  When using the multidirectional scrolling, my objects do not show up
  19.       on top of the background.
  20.  
  21. Solution: First, make sure the variable numsprites contains the highest
  22.       object number you are using.  Second, make sure you compile
  23.       your program with word alignment OFF. To do this, set
  24.       the option under Options/Compiler/Code Generation, or
  25.       use the appropriate switch from the command line compiler.
  26.       Also make sure your object sprite file was loaded alright.     
  27.  
  28.  
  29.  
  30. Problem:  My program compiles fine, but it gives me a stack overflow error
  31.       when I run it.
  32.  
  33. Solution: Make sure you compile your program using the large memory model.
  34.       If you are using the region fill routine, type
  35.          _stklen=64000;
  36.        at the beginning of your program to make sure the fill works fine.
  37.  
  38.  
  39.  
  40. Problem:  My program gives me an out of memory or out of heap space error.
  41.  
  42. Solution: Set the heap size under the Options/Debugger menu to a large
  43.       number. This will change how much memory Turbo C gives it
  44.       when it runs. For the maximum amount, set it to 640. This will
  45.       make sure you can run very large programs.  If that doesn't
  46.       work, try running it from DOS, or cut down the memory
  47.       needed temporarily.
  48.  
  49.  
  50. Problem:  Some of the example files do not seem to work right, and I
  51.       must use a control break to end.
  52.  
  53. Solution: Many of the example programs require a mouse to operate.
  54.       If you do not have a mouse, you will not be able to use
  55.       that particular program. Browse through the program to see
  56.       what exactly it is looking for to continue.  Sometimes
  57.       it is waiting for a keypress which you did not hit.
  58.  
  59.  
  60. Problem:  When I use the fade_in, fade_out, or wsetpalette functions,
  61.       the screen flickers and "snow" appears. What is happening?
  62.  
  63. Solution: This screen disturbance occurs when you set the palette entries.
  64.       There is no way to get rid of the snow completely, however
  65.       there are a few things you can do. Try setting fewer palette
  66.       entries at once, and use a larger delay if you are fading the
  67.       colours in or out.
  68.  
  69.  
  70. Problem:  When I display a sprite or a block on the screen, a mess
  71.       appears.
  72.  
  73. Solution: The block file or sprite file you loaded in was not found.
  74.       When you attempt to display the block or sprite, the data
  75.       in memory is undefined and it displays whatever was in
  76.       memory at that address before you ran your program.
  77.       Check to see the paths are correct in your load statements.
  78.       This error is common when you have first installed WGT
  79.       on your hard drive since it will depend on where you
  80.       copied the files.  You need to change the pathnames in
  81.       any operations which load a file.
  82.  
  83.  
  84. If you are still stuck, please contact WordUp Software Productions by 
  85. mail or E-mail.
  86. We will be glad to answer any questions.
  87.